"192.168.0.1:sipop" Previous topic Chapter index Next topic

REGISTRODEINGRESOHQ_BI

 

 

Descriptions

There is no desription for trigger REGISTRODEINGRESOHQ_BI

 

Definition


CREATE TRIGGER REGISTRODEINGRESOHQ_BI FOR REGISTRODEINGRESOHQ ACTIVE
BEFORE INSERT POSITION 0
AS
declare variable HIJO integer;
BEGIN
  /* Trigger body */
  HIJO = GEN_ID(gen_registroingresohq,1);
  new.id_registro_ingreso=hijo;
  NEW.datetime_insert='NOW';
  IF ( HIJO >9999) THEN
     EXECUTE STATEMENT 'SET GENERATOR GEN_registroingreso TO 0';
END

    This file was generated with EMS InterBase/FireBird Manager (www.ibmanager.com) at 09/06/2005 05:52 p.m. Previous topic Chapter index Next topic